import request from '@/utils/request'

export function listAll(query) {
  return request({
    url: '/examine/goods/normalExamineDetail/listAll',
    method: 'get',
    params: query
  })
}

export function get(id) {
  return request({
    url: '/examine/goods/normalExamineDetail/' + id,
    method: 'get'
  })
}

export function update(data) {
  return request({
    url: '/examine/goods/normalExamineDetail',
    method: 'put',
    data: data
  })
}

export function normalBatchEdit(data) {
  return request({
    url: '/examine/goods/normalExamineDetail/batchEdit',
    method: 'post',
    data: data
  })
}
